home *** CD-ROM | disk | FTP | other *** search
/ BBS in a Box 7 / BBS in a Box - Macintosh - Volume VII (BBS in a Box) (January 1993).iso / Files / Prog / M / M2TSkel.cpt / M2TSkel / MultiSkel.MOD < prev    next >
MacBinary  |  1987-04-16  |  4.6 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: MultiSkel.MOD

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert SoundTracker Module (music/soundTracker) ext Supported
65% dexvert Chip Tracker Module (music/chipTracker) ext Supported
64% dexvert Protracker Module (music/mod) ext Supported
63% dexvert Octalyser Module (music/octalyser) ext Supported
61% dexvert Star Tracker/StarTrekker Module (music/starTracker) ext Supported
10% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert PollyTracker Module (music/pollyTracker) ext Unsupported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Thu Apr 16 18:59:25 1987, modified Thu Apr 16 18:59:25 1987, creator 'MPS ', type ASCII, 4147 bytes "MultiSkel.MOD" , at 0x10b3 382 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 4d 75 6c 74 69 53 | 6b 65 6c 2e 4d 4f 44 00 |..MultiS|kel.MOD.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 10 33 00 | 00 01 7e 9c ab 12 cd 9c |......3.|..~.....|
|00000060| ab 12 cd 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 8b 00 00 00 |........|........|
|00000080| 4d 4f 44 55 4c 45 20 4d | 75 6c 74 69 53 6b 65 6c |MODULE M|ultiSkel|
|00000090| 3b 0d 0d 28 2a 0d 20 2a | 09 54 72 61 6e 73 53 6b |;..(*. *|.TransSk|
|000000a0| 65 6c 20 6d 75 6c 74 69 | 70 6c 65 20 77 69 6e 64 |el multi|ple wind|
|000000b0| 6f 77 20 64 65 6d 6f 6e | 73 74 72 61 74 69 6f 6e |ow demon|stration|
|000000c0| 3a 20 4d 61 69 6e 20 4d | 6f 64 75 6c 65 2e 0d 20 |: Main M|odule.. |
|000000d0| 2a 09 0d 20 2a 09 54 68 | 69 73 20 6d 6f 64 75 6c |*.. *.Th|is modul|
|000000e0| 65 20 70 65 72 66 6f 72 | 6d 73 20 73 65 74 75 70 |e perfor|ms setup|
|000000f0| 20 61 6e 64 20 74 65 72 | 6d 69 6e 61 74 69 6f 6e | and ter|mination|
|00000100| 20 6f 70 65 72 61 74 69 | 6f 6e 73 2c 20 69 6e 73 | operati|ons, ins|
|00000110| 74 61 6c 6c 73 20 74 68 | 65 20 77 69 6e 64 6f 77 |talls th|e window|
|00000120| 0d 20 2a 09 61 6e 64 20 | 6d 65 6e 75 20 68 61 6e |. *.and |menu han|
|00000130| 64 6c 65 72 73 2c 20 61 | 6e 64 20 70 72 6f 63 65 |dlers, a|nd proce|
|00000140| 73 73 65 73 20 6d 65 6e | 75 20 69 74 65 6d 20 73 |sses men|u item s|
|00000150| 65 6c 65 63 74 69 6f 6e | 73 2e 0d 20 2a 09 0d 20 |election|s.. *.. |
|00000160| 2a 09 54 68 65 72 65 20 | 61 72 65 20 66 6f 75 72 |*.There |are four|
|00000170| 20 77 69 6e 64 6f 77 20 | 68 61 6e 64 6c 65 72 73 | window |handlers|
|00000180| 20 69 6e 20 74 68 69 73 | 20 64 65 6d 6f 6e 73 74 | in this| demonst|
|00000190| 72 61 74 69 6f 6e 2e 20 | 20 54 68 65 20 63 6f 64 |ration. | The cod|
|000001a0| 65 20 66 6f 72 20 65 61 | 63 68 0d 20 2a 09 68 61 |e for ea|ch. *.ha|
|000001b0| 6e 64 6c 65 72 20 69 73 | 20 69 6e 20 69 74 73 20 |ndler is| in its |
|000001c0| 6f 77 6e 20 6d 6f 64 75 | 6c 65 2e 0d 20 2a 09 0d |own modu|le.. *..|
|000001d0| 20 2a 09 09 48 65 6c 70 | 20 57 69 6e 64 6f 77 09 | *..Help| Window.|
|000001e0| 09 53 63 72 6f 6c 6c 61 | 62 6c 65 20 6e 6f 6e 2d |.Scrolla|ble non-|
|000001f0| 65 64 69 74 61 62 6c 65 | 20 74 65 78 74 20 77 69 |editable| text wi|
|00000200| 6e 64 6f 77 0d 20 2a 09 | 09 45 64 69 74 20 57 69 |ndow. *.|.Edit Wi|
|00000210| 6e 64 6f 77 09 09 4e 6f | 6e 2d 73 63 72 6f 6c 6c |ndow..No|n-scroll|
|00000220| 61 62 6c 65 20 65 64 69 | 74 61 62 6c 65 20 74 65 |able edi|table te|
|00000230| 78 74 20 77 69 6e 64 6f | 77 0d 20 2a 09 09 5a 6f |xt windo|w. *..Zo|
|00000240| 6f 6d 20 57 69 6e 64 6f | 77 09 09 4e 6f 6e 2d 6d |om Windo|w..Non-m|
|00000250| 61 6e 69 70 75 6c 61 62 | 6c 65 20 67 72 61 70 68 |anipulab|le graph|
|00000260| 69 63 73 20 64 69 73 70 | 6c 61 79 20 77 69 6e 64 |ics disp|lay wind|
|00000270| 6f 77 0d 20 2a 09 09 52 | 65 67 69 6f 6e 20 57 69 |ow. *..R|egion Wi|
|00000280| 6e 64 6f 77 09 4d 61 6e | 69 70 75 6c 61 62 6c 65 |ndow.Man|ipulable|
|00000290| 20 67 72 61 70 68 69 63 | 73 20 64 69 73 70 6c 61 | graphic|s displa|
|000002a0| 79 20 77 69 6e 64 6f 77 | 0d 20 2a 09 0d 20 2a 09 |y window|. *.. *.|
|000002b0| a9 20 50 61 75 6c 20 44 | 75 42 6f 69 73 2c 20 32 |. Paul D|uBois, 2|
|000002c0| 34 20 4a 75 6e 65 20 31 | 39 38 36 0d 20 2a 09 09 |4 June 1|986. *..|
|000002d0| 4d 6f 64 75 6c 61 2d 32 | 20 76 65 72 73 69 6f 6e |Modula-2| version|
|000002e0| 20 d1 20 44 65 6e 6e 69 | 73 20 43 6f 68 65 6e 2c | . Denni|s Cohen,|
|000002f0| 20 31 34 20 41 70 72 69 | 6c 20 31 39 38 37 0d 20 | 14 Apri|l 1987. |
|00000300| 2a 29 0d 0d 46 52 4f 4d | 20 53 59 53 54 45 4d 20 |*)..FROM| SYSTEM |
|00000310| 49 4d 50 4f 52 54 20 41 | 44 44 52 45 53 53 3b 0d |IMPORT A|DDRESS;.|
|00000320| 46 52 4f 4d 20 51 75 69 | 63 6b 44 72 61 77 20 49 |FROM Qui|ckDraw I|
|00000330| 4d 50 4f 52 54 20 52 67 | 6e 48 61 6e 64 6c 65 3b |MPORT Rg|nHandle;|
|00000340| 0d 46 52 4f 4d 20 4d 65 | 6e 75 4d 61 6e 61 67 65 |.FROM Me|nuManage|
|00000350| 72 20 49 4d 50 4f 52 54 | 20 4d 65 6e 75 48 61 6e |r IMPORT| MenuHan|
|00000360| 64 6c 65 2c 20 47 65 74 | 4d 65 6e 75 3b 0d 46 52 |dle, Get|Menu;.FR|
|00000370| 4f 4d 20 57 69 6e 64 6f | 77 4d 61 6e 61 67 65 72 |OM Windo|wManager|
|00000380| 20 49 4d 50 4f 52 54 20 | 57 69 6e 64 6f 77 50 65 | IMPORT |WindowPe|
|00000390| 65 6b 2c 20 57 69 6e 64 | 6f 77 50 74 72 2c 20 46 |ek, Wind|owPtr, F|
|000003a0| 72 6f 6e 74 57 69 6e 64 | 6f 77 2c 20 48 69 64 65 |rontWind|ow, Hide|
|000003b0| 57 69 6e 64 6f 77 2c 0d | 09 09 09 09 09 09 09 09 |Window,.|........|
|000003c0| 09 09 09 09 09 53 68 6f | 77 57 69 6e 64 6f 77 2c |.....Sho|wWindow,|
|000003d0| 20 53 65 6c 65 63 74 57 | 69 6e 64 6f 77 3b 0d 46 | SelectW|indow;.F|
|000003e0| 52 4f 4d 20 44 65 73 6b | 4d 61 6e 61 67 65 72 20 |ROM Desk|Manager |
|000003f0| 49 4d 50 4f 52 54 20 53 | 79 73 74 65 6d 45 64 69 |IMPORT S|ystemEdi|
|00000400| 74 2c 20 43 6c 6f 73 65 | 44 65 73 6b 41 63 63 3b |t, Close|DeskAcc;|
|00000410| 0d 46 52 4f 4d 20 44 69 | 61 6c 6f 67 4d 61 6e 61 |.FROM Di|alogMana|
|00000420| 67 65 72 20 49 4d 50 4f | 52 54 20 41 6c 65 72 74 |ger IMPO|RT Alert|
|00000430| 3b 0d 46 52 4f 4d 20 54 | 72 61 6e 73 53 6b 65 6c |;.FROM T|ransSkel|
|00000440| 20 49 4d 50 4f 52 54 20 | 53 6b 65 6c 49 6e 69 74 | IMPORT |SkelInit|
|00000450| 2c 20 53 6b 65 6c 4d 61 | 69 6e 2c 20 53 6b 65 6c |, SkelMa|in, Skel|
|00000460| 43 6c 6f 62 62 65 72 2c | 20 53 6b 65 6c 41 70 70 |Clobber,| SkelApp|
|00000470| 6c 65 2c 20 53 6b 65 6c | 4d 65 6e 75 2c 0d 09 09 |le, Skel|Menu,...|
|00000480| 09 09 09 09 09 09 09 09 | 09 53 6b 65 6c 57 68 6f |........|.SkelWho|
|00000490| 61 2c 20 4d 43 6c 6f 62 | 62 65 72 50 72 6f 63 3b |a, MClob|berProc;|
|000004a0| 0d 46 52 4f 4d 20 4d 75 | 6c 74 69 53 6b 65 6c 45 |.FROM Mu|ltiSkelE|
|000004b0| 64 69 74 20 49 4d 50 4f | 52 54 20 45 64 69 74 57 |dit IMPO|RT EditW|
|000004c0| 69 6e 64 45 64 69 74 4d | 65 6e 75 2c 20 45 64 69 |indEditM|enu, Edi|
|000004d0| 74 57 69 6e 64 49 6e 69 | 74 3b 0d 46 52 4f 4d 20 |tWindIni|t;.FROM |
|000004e0| 4d 75 6c 74 69 53 6b 65 | 6c 52 67 6e 20 49 4d 50 |MultiSke|lRgn IMP|
|000004f0| 4f 52 54 20 52 67 6e 49 | 6e 69 74 3b 0d 46 52 4f |ORT RgnI|nit;.FRO|
|00000500| 4d 20 4d 75 6c 74 69 53 | 6b 65 6c 5a 6f 6f 6d 20 |M MultiS|kelZoom |
|00000510| 49 4d 50 4f 52 54 20 5a | 6f 6f 6d 49 6e 69 74 3b |IMPORT Z|oomInit;|
|00000520| 0d 46 52 4f 4d 20 4d 75 | 6c 74 69 53 6b 65 6c 48 |.FROM Mu|ltiSkelH|
|00000530| 65 6c 70 20 49 4d 50 4f | 52 54 20 48 65 6c 70 57 |elp IMPO|RT HelpW|
|00000540| 69 6e 64 49 6e 69 74 3b | 0d 46 52 4f 4d 20 4d 75 |indInit;|.FROM Mu|
|00000550| 6c 74 69 53 6b 65 6c 47 | 6c 6f 62 61 6c 73 20 49 |ltiSkelG|lobals I|
|00000560| 4d 50 4f 52 54 20 65 64 | 69 74 4d 65 6e 75 2c 20 |MPORT ed|itMenu, |
|00000570| 65 64 69 74 57 69 6e 64 | 2c 20 66 69 6c 65 4d 65 |editWind|, fileMe|
|00000580| 6e 75 52 65 73 2c 20 65 | 64 69 74 4d 65 6e 75 52 |nuRes, e|ditMenuR|
|00000590| 65 73 2c 0d 09 09 09 09 | 09 09 09 09 09 09 09 09 |es,.....|........|
|000005a0| 09 09 09 72 67 6e 57 69 | 6e 64 2c 20 7a 6f 6f 6d |...rgnWi|nd, zoom|
|000005b0| 57 69 6e 64 2c 20 68 65 | 6c 70 57 69 6e 64 2c 20 |Wind, he|lpWind, |
|000005c0| 61 62 6f 75 74 41 6c 72 | 74 3b 0d 0d 43 4f 4e 53 |aboutAlr|t;..CONS|
|000005d0| 54 0d 09 6f 70 65 6e 20 | 3d 20 31 3b 0d 09 63 6c |T..open |= 1;..cl|
|000005e0| 6f 73 65 20 3d 20 32 3b | 0d 09 71 75 69 74 20 3d |ose = 2;|..quit =|
|000005f0| 20 34 3b 0d 09 0d 56 41 | 52 0d 09 66 69 6c 65 4d | 4;...VA|R..fileM|
|00000600| 65 6e 75 3a 20 4d 65 6e | 75 48 61 6e 64 6c 65 3b |enu: Men|uHandle;|
|00000610| 0d 09 6f 6c 64 43 6c 69 | 70 3a 09 52 67 6e 48 61 |..oldCli|p:.RgnHa|
|00000620| 6e 64 6c 65 3b 0d 0d 0d | 28 2a 0d 20 2a 09 48 61 |ndle;...|(*. *.Ha|
|00000630| 6e 64 6c 65 20 73 65 6c | 65 63 74 69 6f 6e 20 6f |ndle sel|ection o|
|00000640| 66 20 41 62 6f 75 74 20 | 4d 75 6c 74 69 53 6b 65 |f About |MultiSke|
|00000650| 6c c9 20 69 74 65 6d 20 | 66 72 6f 6d 20 74 68 65 |l. item |from the|
|00000660| 20 41 70 70 6c 65 20 6d | 65 6e 75 0d 20 2a 29 0d | Apple m|enu. *).|
|00000670| 0d 50 52 4f 43 45 44 55 | 52 45 20 44 6f 41 62 6f |.PROCEDU|RE DoAbo|
|00000680| 75 74 3b 0d 0d 09 56 41 | 52 0d 09 09 77 68 6f 43 |ut;...VA|R...whoC|
|00000690| 61 72 65 73 3a 20 49 4e | 54 45 47 45 52 3b 0d 0d |ares: IN|TEGER;..|
|000006a0| 42 45 47 49 4e 0d 09 77 | 68 6f 43 61 72 65 73 20 |BEGIN..w|hoCares |
|000006b0| 3a 3d 20 41 6c 65 72 74 | 28 61 62 6f 75 74 41 6c |:= Alert|(aboutAl|
|000006c0| 72 74 2c 20 56 41 4c 28 | 41 44 44 52 45 53 53 2c |rt, VAL(|ADDRESS,|
|000006d0| 20 4e 49 4c 29 29 3b 0d | 45 4e 44 20 44 6f 41 62 | NIL));.|END DoAb|
|000006e0| 6f 75 74 3b 0d 0d 0d 28 | 2a 0d 20 2a 09 50 72 6f |out;...(|*. *.Pro|
|000006f0| 63 65 73 73 20 73 65 6c | 65 63 74 69 6f 6e 73 20 |cess sel|ections |
|00000700| 66 72 6f 6d 20 74 68 65 | 20 46 69 6c 65 20 6d 65 |from the| File me|
|00000710| 6e 75 2e 0d 20 2a 09 0d | 20 2a 09 09 4f 70 65 6e |nu.. *..| *..Open|
|00000720| 09 09 4d 61 6b 65 20 61 | 6c 6c 20 66 6f 75 72 20 |..Make a|ll four |
|00000730| 77 69 6e 64 6f 77 73 20 | 76 69 73 69 62 6c 65 2e |windows |visible.|
|00000740| 0d 20 2a 09 09 43 6c 6f | 73 65 09 09 48 69 64 65 |. *..Clo|se..Hide|
|00000750| 20 74 68 65 20 66 72 6f | 6e 74 6d 6f 73 74 20 77 | the fro|ntmost w|
|00000760| 69 6e 64 6f 77 2e 20 20 | 49 66 20 69 74 20 62 65 |indow. |If it be|
|00000770| 6c 6f 6e 67 73 20 74 6f | 20 61 20 44 41 2c 20 63 |longs to| a DA, c|
|00000780| 6c 6f 73 65 20 74 68 65 | 20 44 41 2e 0d 20 2a 09 |lose the| DA.. *.|
|00000790| 09 51 75 69 74 09 09 52 | 65 71 75 65 73 74 20 61 |.Quit..R|equest a|
|000007a0| 20 68 61 6c 74 20 62 79 | 20 63 61 6c 6c 69 6e 67 | halt by| calling|
|000007b0| 20 53 6b 65 6c 57 68 6f | 61 2e 20 20 54 68 69 73 | SkelWho|a. This|
|000007c0| 20 6d 61 6b 65 73 20 53 | 6b 65 6c 4d 61 69 6e 20 | makes S|kelMain |
|000007d0| 72 65 74 75 72 6e 2e 0d | 20 2a 29 0d 0d 50 52 4f |return..| *)..PRO|
|000007e0| 43 45 44 55 52 45 20 44 | 6f 46 69 6c 65 28 69 74 |CEDURE D|oFile(it|
|000007f0| 65 6d 3a 20 49 4e 54 45 | 47 45 52 29 3b 0d 0d 09 |em: INTE|GER);...|
|00000800| 56 41 52 0d 09 09 77 50 | 65 65 6b 3a 09 57 69 6e |VAR...wP|eek:.Win|
|00000810| 64 6f 77 50 65 65 6b 3b | 0d 09 0d 09 50 52 4f 43 |dowPeek;|....PROC|
|00000820| 45 44 55 52 45 20 4d 79 | 53 68 6f 77 57 69 6e 64 |EDURE My|ShowWind|
|00000830| 6f 77 28 77 69 6e 64 3a | 20 57 69 6e 64 6f 77 50 |ow(wind:| WindowP|
|00000840| 65 65 6b 29 3b 0d 09 0d | 09 28 2a 0d 09 09 53 68 |eek);...|.(*...Sh|
|00000850| 6f 77 20 61 20 77 69 6e | 64 6f 77 20 69 66 20 69 |ow a win|dow if i|
|00000860| 74 27 73 20 6e 6f 74 20 | 76 69 73 69 62 6c 65 2e |t's not |visible.|
|00000870| 20 20 53 65 6c 65 63 74 | 20 74 68 65 20 77 69 6e | Select| the win|
|00000880| 64 6f 77 20 66 69 72 73 | 74 2c 20 74 68 65 6e 20 |dow firs|t, then |
|00000890| 73 68 6f 77 20 69 74 0d | 09 09 73 6f 20 74 68 61 |show it.|..so tha|
|000008a0| 74 20 69 74 20 63 6f 6d | 65 73 20 75 70 20 69 6e |t it com|es up in|
|000008b0| 20 66 72 6f 6e 74 2e 20 | 20 4f 74 68 65 72 77 69 | front. | Otherwi|
|000008c0| 73 65 20 69 74 20 77 69 | 6c 6c 20 62 65 20 64 72 |se it wi|ll be dr|
|000008d0| 61 77 6e 20 69 6e 20 62 | 61 63 6b 20 61 6e 64 20 |awn in b|ack and |
|000008e0| 74 68 65 6e 0d 09 09 62 | 72 6f 75 67 68 74 20 74 |then...b|rought t|
|000008f0| 6f 20 74 68 65 20 66 72 | 6f 6e 74 2c 20 77 68 69 |o the fr|ont, whi|
|00000900| 63 68 20 69 73 20 75 67 | 6c 79 2e 0d 09 09 0d 09 |ch is ug|ly......|
|00000910| 09 54 68 65 20 74 65 73 | 74 20 66 6f 72 20 76 69 |.The tes|t for vi|
|00000920| 73 69 62 69 6c 69 74 79 | 20 6d 75 73 74 20 62 65 |sibility| must be|
|00000930| 20 64 6f 6e 65 20 63 61 | 72 65 66 75 6c 6c 79 3b | done ca|refully;|
|00000940| 20 74 68 65 20 57 69 6e | 64 6f 77 4d 61 6e 61 67 | the Win|dowManag|
|00000950| 65 72 20 73 74 6f 72 65 | 73 0d 09 09 32 35 35 20 |er store|s...255 |
|00000960| 66 6f 72 20 74 72 75 65 | 20 61 6e 64 20 30 20 66 |for true| and 0 f|
|00000970| 6f 72 20 66 61 6c 73 65 | 20 2d 20 6e 6f 74 20 61 |or false| - not a|
|00000980| 20 72 65 61 6c 20 62 6f | 6f 6c 65 61 6e 2e 0d 09 | real bo|olean...|
|00000990| 2a 29 0d 09 0d 09 42 45 | 47 49 4e 0d 09 09 49 46 |*)....BE|GIN...IF|
|000009a0| 20 56 41 4c 28 43 41 52 | 44 49 4e 41 4c 2c 77 69 | VAL(CAR|DINAL,wi|
|000009b0| 6e 64 5e 2e 76 69 73 69 | 62 6c 65 29 20 3d 20 30 |nd^.visi|ble) = 0|
|000009c0| 20 54 48 45 4e 0d 09 09 | 09 53 65 6c 65 63 74 57 | THEN...|.SelectW|
|000009d0| 69 6e 64 6f 77 28 56 41 | 4c 28 57 69 6e 64 6f 77 |indow(VA|L(Window|
|000009e0| 50 74 72 2c 20 77 69 6e | 64 29 29 3b 0d 09 09 09 |Ptr, win|d));....|
|000009f0| 53 68 6f 77 57 69 6e 64 | 6f 77 28 56 41 4c 28 57 |ShowWind|ow(VAL(W|
|00000a00| 69 6e 64 6f 77 50 74 72 | 2c 20 77 69 6e 64 29 29 |indowPtr|, wind))|
|00000a10| 3b 0d 09 09 45 4e 44 3b | 0d 09 45 4e 44 20 4d 79 |;...END;|..END My|
|00000a20| 53 68 6f 77 57 69 6e 64 | 6f 77 3b 0d 09 09 0d 42 |ShowWind|ow;....B|
|00000a30| 45 47 49 4e 0d 09 43 41 | 53 45 20 69 74 65 6d 20 |EGIN..CA|SE item |
|00000a40| 4f 46 0d 09 09 6f 70 65 | 6e 3a 09 4d 79 53 68 6f |OF...ope|n:.MySho|
|00000a50| 77 57 69 6e 64 6f 77 28 | 56 41 4c 28 57 69 6e 64 |wWindow(|VAL(Wind|
|00000a60| 6f 77 50 65 65 6b 2c 20 | 72 67 6e 57 69 6e 64 29 |owPeek, |rgnWind)|
|00000a70| 29 3b 0d 09 09 09 09 09 | 4d 79 53 68 6f 77 57 69 |);......|MyShowWi|
|00000a80| 6e 64 6f 77 28 56 41 4c | 28 57 69 6e 64 6f 77 50 |ndow(VAL|(WindowP|
|00000a90| 65 65 6b 2c 20 7a 6f 6f | 6d 57 69 6e 64 29 29 3b |eek, zoo|mWind));|
|00000aa0| 0d 09 09 09 09 09 4d 79 | 53 68 6f 77 57 69 6e 64 |......My|ShowWind|
|00000ab0| 6f 77 28 56 41 4c 28 57 | 69 6e 64 6f 77 50 65 65 |ow(VAL(W|indowPee|
|00000ac0| 6b 2c 20 65 64 69 74 57 | 69 6e 64 29 29 3b 0d 09 |k, editW|ind));..|
|00000ad0| 09 09 09 09 4d 79 53 68 | 6f 77 57 69 6e 64 6f 77 |....MySh|owWindow|
|00000ae0| 28 56 41 4c 28 57 69 6e | 64 6f 77 50 65 65 6b 2c |(VAL(Win|dowPeek,|
|00000af0| 20 68 65 6c 70 57 69 6e | 64 29 29 3b 0d 09 09 7c | helpWin|d));...||
|00000b00| 0d 09 09 28 2a 20 43 6c | 6f 73 65 20 74 68 65 20 |...(* Cl|ose the |
|00000b10| 66 72 6f 6e 74 20 77 69 | 6e 64 6f 77 2e 20 20 54 |front wi|ndow. T|
|00000b20| 61 6b 65 20 69 6e 74 6f | 20 61 63 63 6f 75 6e 74 |ake into| account|
|00000b30| 20 77 68 65 74 68 65 72 | 20 69 74 20 62 65 6c 6f | whether| it belo|
|00000b40| 6e 67 73 20 74 6f 20 61 | 20 44 41 20 2a 29 0d 09 |ngs to a| DA *)..|
|00000b50| 09 63 6c 6f 73 65 3a 09 | 77 50 65 65 6b 20 3a 3d |.close:.|wPeek :=|
|00000b60| 20 56 41 4c 28 57 69 6e | 64 6f 77 50 65 65 6b 2c | VAL(Win|dowPeek,|
|00000b70| 20 46 72 6f 6e 74 57 69 | 6e 64 6f 77 28 29 29 3b | FrontWi|ndow());|
|00000b80| 0d 09 09 09 09 09 09 49 | 46 20 77 50 65 65 6b 20 |.......I|F wPeek |
|00000b90| 23 20 4e 49 4c 20 54 48 | 45 4e 0d 09 09 09 09 09 |# NIL TH|EN......|
|00000ba0| 09 09 49 46 20 77 50 65 | 65 6b 5e 2e 77 69 6e 64 |..IF wPe|ek^.wind|
|00000bb0| 6f 77 4b 69 6e 64 20 3c | 20 30 20 54 48 45 4e 20 |owKind <| 0 THEN |
|00000bc0| 43 6c 6f 73 65 44 65 73 | 6b 41 63 63 28 77 50 65 |CloseDes|kAcc(wPe|
|00000bd0| 65 6b 5e 2e 77 69 6e 64 | 6f 77 4b 69 6e 64 29 3b |ek^.wind|owKind);|
|00000be0| 0d 09 09 09 09 09 09 09 | 45 4c 53 45 20 48 69 64 |........|ELSE Hid|
|00000bf0| 65 57 69 6e 64 6f 77 28 | 46 72 6f 6e 74 57 69 6e |eWindow(|FrontWin|
|00000c00| 64 6f 77 28 29 29 3b 0d | 09 09 09 09 09 09 09 45 |dow());.|.......E|
|00000c10| 4e 44 3b 0d 09 09 09 09 | 09 09 45 4e 44 3b 0d 09 |ND;.....|..END;..|
|00000c20| 09 7c 0d 09 09 71 75 69 | 74 3a 09 53 6b 65 6c 57 |.|...qui|t:.SkelW|
|00000c30| 68 6f 61 3b 0d 09 09 45 | 4c 53 45 20 28 2a 20 44 |hoa;...E|LSE (* D|
|00000c40| 6f 20 6e 6f 74 68 69 6e | 67 20 2a 29 20 3b 0d 09 |o nothin|g *) ;..|
|00000c50| 45 4e 44 3b 0d 45 4e 44 | 20 44 6f 46 69 6c 65 3b |END;.END| DoFile;|
|00000c60| 0d 0d 0d 28 2a 0d 09 50 | 72 6f 63 65 73 73 20 69 |...(*..P|rocess i|
|00000c70| 74 65 6d 20 73 65 6c 65 | 63 74 65 64 20 66 72 6f |tem sele|cted fro|
|00000c80| 6d 20 45 64 69 74 20 6d | 65 6e 75 2e 20 20 46 69 |m Edit m|enu. Fi|
|00000c90| 72 73 74 20 63 68 65 63 | 6b 20 77 68 65 74 68 65 |rst chec|k whethe|
|00000ca0| 72 20 69 74 20 73 68 6f | 75 6c 64 20 67 65 74 0d |r it sho|uld get.|
|00000cb0| 09 72 6f 75 74 65 64 20 | 74 6f 20 61 20 44 41 2e |.routed |to a DA.|
|00000cc0| 20 20 49 66 20 6e 6f 74 | 2c 20 74 68 65 6e 20 72 | If not|, then r|
|00000cd0| 6f 75 74 65 20 74 68 65 | 20 73 65 6c 65 63 74 69 |oute the| selecti|
|00000ce0| 6f 6e 20 74 6f 20 74 68 | 65 20 74 65 78 74 20 65 |on to th|e text e|
|00000cf0| 64 69 74 69 6e 67 20 77 | 69 6e 64 6f 77 2c 0d 09 |diting w|indow,..|
|00000d00| 61 73 20 74 68 61 74 20 | 69 73 20 74 68 65 20 6f |as that |is the o|
|00000d10| 6e 6c 79 20 6f 6e 65 20 | 66 6f 72 20 74 68 69 73 |nly one |for this|
|00000d20| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 74 6f 20 | applica|tion to |
|00000d30| 77 68 69 63 68 20 65 64 | 69 74 20 63 6f 6d 6d 61 |which ed|it comma|
|00000d40| 6e 64 73 20 61 70 70 6c | 79 2e 0d 09 28 54 68 65 |nds appl|y...(The|
|00000d50| 20 74 65 73 74 20 66 6f | 72 20 46 72 6f 6e 74 57 | test fo|r FrontW|
|00000d60| 69 6e 64 6f 77 20 69 73 | 20 6e 6f 74 20 73 74 72 |indow is| not str|
|00000d70| 69 63 74 6c 79 20 6e 65 | 63 65 73 73 61 72 79 2c |ictly ne|cessary,|
|00000d80| 20 61 73 20 74 68 65 20 | 45 64 69 74 20 6d 65 6e | as the |Edit men|
|00000d90| 75 20 69 73 0d 09 64 69 | 73 61 62 6c 65 64 20 77 |u is..di|sabled w|
|00000da0| 68 65 6e 20 61 6e 79 20 | 6f 66 20 74 68 65 20 6f |hen any |of the o|
|00000db0| 74 68 65 72 20 77 69 6e | 64 6f 77 73 20 69 73 20 |ther win|dows is |
|00000dc0| 66 72 6f 6e 74 6d 6f 73 | 74 20 61 6e 64 20 73 6f |frontmos|t and so|
|00000dd0| 20 74 68 69 73 20 70 72 | 6f 63 65 64 75 72 65 0d | this pr|ocedure.|
|00000de0| 09 73 68 6f 75 6c 64 6e | 27 74 20 67 65 74 20 63 |.shouldn|'t get c|
|00000df0| 61 6c 6c 65 64 2e 29 0d | 2a 29 0d 0d 50 52 4f 43 |alled.).|*)..PROC|
|00000e00| 45 44 55 52 45 20 44 6f | 45 64 69 74 28 69 74 65 |EDURE Do|Edit(ite|
|00000e10| 6d 3a 20 49 4e 54 45 47 | 45 52 29 3b 0d 0d 42 45 |m: INTEG|ER);..BE|
|00000e20| 47 49 4e 0d 09 49 46 20 | 4e 4f 54 20 53 79 73 74 |GIN..IF |NOT Syst|
|00000e30| 65 6d 45 64 69 74 28 69 | 74 65 6d 2d 31 29 20 54 |emEdit(i|tem-1) T|
|00000e40| 48 45 4e 0d 09 09 49 46 | 20 46 72 6f 6e 74 57 69 |HEN...IF| FrontWi|
|00000e50| 6e 64 6f 77 28 29 20 3d | 20 65 64 69 74 57 69 6e |ndow() =| editWin|
|00000e60| 64 20 54 48 45 4e 20 45 | 64 69 74 57 69 6e 64 45 |d THEN E|ditWindE|
|00000e70| 64 69 74 4d 65 6e 75 28 | 69 74 65 6d 29 3b 20 45 |ditMenu(|item); E|
|00000e80| 4e 44 3b 0d 09 45 4e 44 | 3b 0d 45 4e 44 20 44 6f |ND;..END|;.END Do|
|00000e90| 45 64 69 74 3b 0d 0d 28 | 2a 0d 20 2a 09 49 6e 69 |Edit;..(|*. *.Ini|
|00000ea0| 74 69 61 6c 69 7a 65 20 | 6d 65 6e 75 73 2e 20 20 |tialize |menus. |
|00000eb0| 54 65 6c 6c 20 54 72 61 | 6e 73 53 6b 65 6c 20 74 |Tell Tra|nsSkel t|
|00000ec0| 6f 20 70 72 6f 63 65 73 | 73 20 74 68 65 20 41 70 |o proces|s the Ap|
|00000ed0| 70 6c 65 20 4d 65 6e 75 | 20 61 75 74 6f 6d 61 74 |ple Menu| automat|
|00000ee0| 69 63 61 6c 6c 79 2c 0d | 20 2a 09 61 6e 64 20 61 |ically,.| *.and a|
|00000ef0| 73 73 6f 63 69 61 74 65 | 20 74 68 65 20 70 72 6f |ssociate| the pro|
|00000f00| 70 65 72 20 70 72 6f 63 | 65 64 75 72 65 73 20 77 |per proc|edures w|
|00000f10| 69 74 68 20 74 68 65 20 | 46 69 6c 65 20 61 6e 64 |ith the |File and|
|00000f20| 20 45 64 69 74 20 4d 65 | 6e 75 73 2e 0d 20 2a 29 | Edit Me|nus.. *)|
|00000f30| 0d 0d 50 52 4f 43 45 44 | 55 52 45 20 53 65 74 55 |..PROCED|URE SetU|
|00000f40| 70 4d 65 6e 75 73 3b 0d | 0d 42 45 47 49 4e 0d 09 |pMenus;.|.BEGIN..|
|00000f50| 53 6b 65 6c 41 70 70 6c | 65 28 22 41 62 6f 75 74 |SkelAppl|e("About|
|00000f60| 20 4d 75 6c 74 69 53 6b | 65 6c c9 22 2c 20 44 6f | MultiSk|el.", Do|
|00000f70| 41 62 6f 75 74 29 3b 0d | 09 66 69 6c 65 4d 65 6e |About);.|.fileMen|
|00000f80| 75 20 3a 3d 20 47 65 74 | 4d 65 6e 75 28 66 69 6c |u := Get|Menu(fil|
|00000f90| 65 4d 65 6e 75 52 65 73 | 29 3b 0d 09 65 64 69 74 |eMenuRes|);..edit|
|00000fa0| 4d 65 6e 75 20 3a 3d 20 | 47 65 74 4d 65 6e 75 28 |Menu := |GetMenu(|
|00000fb0| 65 64 69 74 4d 65 6e 75 | 52 65 73 29 3b 0d 09 53 |editMenu|Res);..S|
|00000fc0| 6b 65 6c 4d 65 6e 75 28 | 66 69 6c 65 4d 65 6e 75 |kelMenu(|fileMenu|
|00000fd0| 2c 20 44 6f 46 69 6c 65 | 2c 20 56 41 4c 28 4d 43 |, DoFile|, VAL(MC|
|00000fe0| 6c 6f 62 62 65 72 50 72 | 6f 63 2c 20 4e 49 4c 29 |lobberPr|oc, NIL)|
|00000ff0| 29 3b 0d 09 53 6b 65 6c | 4d 65 6e 75 28 65 64 69 |);..Skel|Menu(edi|
|00001000| 74 4d 65 6e 75 2c 20 44 | 6f 45 64 69 74 2c 20 56 |tMenu, D|oEdit, V|
|00001010| 41 4c 28 4d 43 6c 6f 62 | 62 65 72 50 72 6f 63 2c |AL(MClob|berProc,|
|00001020| 20 4e 49 4c 29 29 3b 0d | 45 4e 44 20 53 65 74 55 | NIL));.|END SetU|
|00001030| 70 4d 65 6e 75 73 3b 0d | 0d 0d 42 45 47 49 4e 0d |pMenus;.|..BEGIN.|
|00001040| 09 53 6b 65 6c 49 6e 69 | 74 3b 0d 09 53 65 74 55 |.SkelIni|t;..SetU|
|00001050| 70 4d 65 6e 75 73 3b 0d | 09 52 67 6e 49 6e 69 74 |pMenus;.|.RgnInit|
|00001060| 3b 0d 09 5a 6f 6f 6d 49 | 6e 69 74 3b 0d 09 45 64 |;..ZoomI|nit;..Ed|
|00001070| 69 74 57 69 6e 64 49 6e | 69 74 3b 0d 09 48 65 6c |itWindIn|it;..Hel|
|00001080| 70 57 69 6e 64 49 6e 69 | 74 3b 0d 09 53 6b 65 6c |pWindIni|t;..Skel|
|00001090| 4d 61 69 6e 3b 0d 09 53 | 6b 65 6c 43 6c 6f 62 62 |Main;..S|kelClobb|
|000010a0| 65 72 3b 0d 45 4e 44 20 | 4d 75 6c 74 69 53 6b 65 |er;.END |MultiSke|
|000010b0| 6c 2e 0d 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |l.......|........|
|000010c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000010f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001100| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00001110| 29 3b 0d 09 53 6b 65 6c | 4d 65 6e 75 28 65 64 69 |);..Skel|Menu(edi|
|00001120| 74 4d 65 6e 75 2c 20 44 | 6f 45 64 69 74 2c 20 56 |tMenu, D|oEdit, V|
|00001130| 1a 31 2e 20 44 44 45 78 | 70 61 6e 64 45 78 70 61 |.1. DDEx|pandExpa|
|00001140| 6e 64 54 65 6d 70 46 69 | 6c 65 20 78 02 00 00 00 |ndTempFi|le x....|
|00001150| 00 00 44 44 54 4d 44 44 | 41 50 01 00 00 00 00 00 |..DDTMDD|AP......|
|00001160| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001170| 00 00 a5 f4 97 73 00 00 | 10 33 00 00 01 7e 69 74 |.....s..|.3...~it|
|00001180| 3b 0d 09 5a 6f 6f 6d 49 | 6e 69 74 3b 0d 09 45 64 |;..ZoomI|nit;..Ed|
|00001190| 69 74 57 69 6e 64 49 6e | 69 74 3b 0d 09 48 65 6c |itWindIn|it;..Hel|
|000011a0| 70 57 69 6e 64 49 6e 69 | 74 3b 0d 09 53 6b 65 6c |pWindIni|t;..Skel|
|000011b0| 4d 61 69 6e 3b 0d 09 53 | 6b 65 6c 43 6c 6f 62 62 |Main;..S|kelClobb|
|000011c0| 65 72 3b 0d 45 4e 44 20 | 4d 75 6c 74 69 53 6b 65 |er;.END |MultiSke|
|000011d0| 6c 2e 0d 6c 65 61 72 20 | 6f 70 65 72 61 74 69 6f |l..lear |operatio|
|000011e0| 6e 20 6d 61 79 20 62 65 | 20 70 65 72 66 6f 72 6d |n may be| perform|
|000011f0| 65 64 2e 20 20 4e 65 69 | 74 68 65 72 0d 20 2a 09 |ed. Nei|ther. *.|
|00001200| 00 00 00 48 00 0a 43 6f | 75 72 69 65 72 00 6f 6e |...H..Co|urier.on|
|00001210| 73 74 72 61 74 69 6f 6e | 3a 20 4d 61 69 6e 20 4d |stration|: Main M|
|00001220| 6f 64 75 6c 65 2e 00 06 | 00 02 00 29 00 03 01 53 |odule...|...)...S|
|00001230| 01 fd 00 3c 00 24 01 53 | 01 fd 9c aa da 8d 00 00 |...<.$.S|........|
|00001240| 0e b2 00 00 0e b2 00 00 | 0d 9e 01 00 00 00 01 00 |........|........|
|00001250| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 00 cc 24 |...L...L|...2...$|
|00001260| 02 f2 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.......2|..MPSR..|
|00001270| 00 0a 03 ed ff ff 00 00 | 00 00 00 01 ab 98 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+